#ifndef GGE_LIB_H_INCLUDED
#define GGE_LIB_H_INCLUDED
#include <stdlib.h>                                 // Librerias necesarias de C++
#include <time.h>
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <cstdlib>

#include <SDL/SDL.h>                                // Librerias necesarias de SDL
#include <SDL/SDL_image.h>
#include <SDL/SDL_mixer.h>
#include <SDL/SDL_ttf.h>
#include <SDL/SDL_net.h>

#include <GL/glut.h>
class cImg
{
private:


public:
  SDL_Surface * img;
  void load ( char *path );
  void uload();
  void draw( int x, int y );

};

class cEntity
{
private:
  int nFrames;
  int cont;
  int estado;
  GLuint uiGSprite;
  GLint  nOfColors;
  GLenum texture_format;

public:
  cImg *sprite;
  cEntity( int nf );
  cEntity();
  int x;
  int y;
  void addframe( cImg frameImg );
  void draw ( int _x, int _y );
};



#endif // GGE_LIB_H_INCLUDED
